import React, { CSSProperties } from "react";
export type status = "error" | "wait";
export interface StepsList {
  title?: string | React.ReactNode; //步骤描述
  icon?: string | React.ReactNode; //步骤自定义图标
  mainNode?: Boolean; //是否是主节点
  status?: status; //步骤的状态
}
// step 样式
export enum directionProps {
  vertical = "vertical",
  normal = "normal",
}
// 图标的状态颜色
export enum statusProps {
  success = "success",
  error = "error",
  waring = "waring",
  primary = "primary",
  normal = "normal",
  warning = "warning",
  disabled = "disabled",
}
//props
export interface StepsPropsType {
  type?: directionProps;
  current?: number;
  style?: CSSProperties;
  stepsList?: StepsList[];
  children?: React.ReactNode;
  status?: statusProps;
}
